﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OInspectionAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.OInspectionAdd" %>
<style type="text/css">
    table.octable{border: 1px solid #000;border-collapse: collapse;width: 100%;}  
    table.octable td {border: 1px solid #000;padding:1px;vertical-align:middle;}
    table.octable th{background-color: #CCCCCC;border: 1px solid #000;padding: 1px;text-align: center; height:25px; line-height:25px;}
    table.octable td.tdtitle{height:22px; line-height:22px; text-align:center; font-weight:bold; font-size:12px;}
    .DJNGItemCode,.DJNGExceptionrecord{width:150px;}
</style>
<h2 class="contentTitle" style="text-align:center;">
    <%= t=="1"?"完检单（完成机器检查书）":"出库检查单"%>
</h2>
<div class="pageContent">
    <form id="Form1" action="MacModel/OInspectionAdd.aspx?ajaxmethod=add&t=<%=t %>" class="pageForm required-validate"
    onsubmit="return validateCallback(this,navTabAjaxDone);">
    <div class="pageFormContent OProjectAddForm" layouth="100">
         <table width="100%">
         <tr>
           
            <td width="150px" style="text-align:left;">
                检查时间:
            </td>
            <td >
                <input name="CheckDate" type="text" class="date required"  value=""/>
            </td>
         </tr>
        </table>         
       
            <table class="octable" >
                <tr>
                    <td width="10%">型号：</td>
                    <td width="20%" align="left">                    
                        <%=GetMacType("radio","MachineType","65NS")%>
                    </td>
                    <td width="10%">防冻液：</td>
                    <td><input name="Antifreeze" type="radio" value="-15"  checked />-15
                        <input name="Antifreeze" type="radio" value="-25"  />-25
                        <input name="Antifreeze" type="radio" value="-35"  />-35
                    </td>
                </tr>
                <tr>
                    <td>机号：</td>
                    <td><input name="SerialNumber" type="text" class="required TypeSuff SerialNumber"  value=""/></td>
                    <td>机油：</td>
                    <td><input name="EngineOil" type="text" class=""  value="10W-30"/></td>
                </tr>
                  <tr>
                    <td>司机号编号：</td>
                    <td><input name="CabNnumber" type="text" class=""  value=""/></td>
                    <td>液压油：</td>
                    <td><input name="HydraulicOil" type="text" class=""  value="32＃"/></td>
                </tr>
                 <tr>
                    <td>计时器时间：</td>
                    <td><input name="Timer" type="text" class=""  value=""/></td>
                    <td>柴油：</td>
                    <td>
                        <input name="DieselOil" type="radio" value="0#"   checked/>0#
                        <input name="DieselOil" type="radio" value="-10#"  />-10#
                    </td>
                </tr>
                 <tr>
                    <td>发动机号:</td>
                    <td><input name="EngineNumber" type="text" class="required checkEngineNumber" vtype='3'  value=""/></td>
                    <td>仪表编号:</td>
                    <td><input name="MeterNumber" type="text" class="" value=""/></td>
                </tr>
            </table>
    
        <div class="divider">
        </div>
         <table width="100%">
         <tr>
            <td width="90px" style="font-weight:bold;">
                NG项目:
            </td>
            <td  style="text-align:left;">
                (只需填写出现NG的项目)</td>
            
         </tr>
        </table>         
        <div class="divider">
        </div> 
        <table class="octable" >
            <tr>
                <th width="50px">&nbsp;</th>
              <%--  <th width="11%">点检项目</th>               
                <th width="11%">零件代码</th>
                <th width="11%">问题代码</th>--%>
                 <th>异常记录</th>
                <th width="11%">责任工位</th>
                 <th width="11%">责任人</th>
                <th width="11%">责任供应商</th>

               <th>分类</th>
            </tr>
            <tr>
                <td ><a class="addDJNGItem" href="#">增</a>&nbsp;<a class="deleteDJNGItem" href="#" style="display:none;">删</a></td>
            <%--    <td ><input type="text" name="DJNGItemCode" class="DJNGItemCode autocomplete" autocompletehref="sysAjaxDone.ashx?ajaxmethod=getautootallyproject&itemtype=0" swidth="300" /></td>
                <td ><input type="text" name="PNO" class="PNO autocomplete" autocompletehref="sysAjaxDone.ashx?ajaxmethod=getautootallyproject&itemtype=1" swidth="300"/></td>
                <td ><input type="text" name="CodeTag" class="CodeTag autocomplete" autocompletehref="sysAjaxDone.ashx?ajaxmethod=getautoissuecode" swidth="300"/></td>--%>
                <td><input type="text" name="DJNGExceptionrecord" class="DJNGExceptionrecord inputGetFormLimtt autocomplete" suggestFields2="Exceptionrecord" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getngexceptionrecordautocomplete"  swidth="300" mustMatch="false"/></td>
                <td ><input type="text" name="Station" class="Station inputGetFormLimtt"/></td>
                <td ><input type="text" name="DutyWorker" class=""/></td>
                <td ><input type="text" name="Supplier" class="Supplier inputGetFormLimtt  autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getsupplierlist" swidth="300"/></td>
                 <td ><select name="NGClass" class="NGClass"><option value="A" selected>A</option><option value="B">B</option></select></td>
            </tr>
        </table>
        <%-- 
        <div class="divider">
        </div>
        <table width="100%">
         <tr>
            <td width="90px" style="font-weight:bold;">
                标准检查项目:
            </td>
            <td  style="text-align:left;">
                (只需填写出现NG的项目)</td>
            
         </tr>
        </table>         
       <div class="divider">
        </div>  
         <table class="octable" >
            <tr>
                <th width="50px">&nbsp;</th>
                <th width="15%">项目代码</th>
                <th>问题代码(可多个,请使用;隔开)</th>
                <th width="30%">项目说明</th>
            </tr>
            <tr>
                <td ><a class="addDJNGItem addBZNGItem" href="#">增</a>&nbsp;<a class="deleteDJNGItem deleteBZNGItem" href="#" style="display:none;">删</a></td>
                <td ><input type="text" name="BZNGItemCode" class="DJNGItemCode BZNGItemCode"/></td>
                <td><input type="text" name="BZNGExceptionrecord" class="DJNGExceptionrecord BZNGExceptionrecord" /></td>
                <td class="ItemName">&nbsp;</td>
            </tr>
        </table>--%>
    </div>
    <div class="formBar">
        <ul>
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
